package com.kuaiditu.assistant.api.yd_api.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

/**
 * Created by Eenie on 2017/8/25.
 * Email: eeniework@gmail.com
 * Des:
 */

@Entity(nameInDb = "yd_user")
public class UserEntity {


    /**
     * id : 1000
     * name : 闫广利(15021435854)
     * code :
     * type :
     */

    @Id(autoincrement = true)
    private Long _id;


    private String id;
    private String name;
    private String code;
    private String type;
    @Transient
    private Boolean checked = false;

    @Generated(hash = 479063336)
    public UserEntity(Long _id, String id, String name, String code, String type) {
        this._id = _id;
        this.id = id;
        this.name = name;
        this.code = code;
        this.type = type;
    }

    @Generated(hash = 1433178141)
    public UserEntity() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long get_id() {
        return this._id;
    }

    public void set_id(Long _id) {
        this._id = _id;
    }

    public Boolean getChecked() {
        return this.checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }
}
